package com.ruoyi.app.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * APP拼团类型业务对象 app_team_type
 *
 * @author heike
 * @date 2023-08-16
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class AppTeamTypeBo extends BaseEntity {

    /**
     * ID
     */
    private Long id;

    /**
     * 标签类型名称
     */
    @NotBlank(message = "标签类型名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 类型图标
     */
    private String image;

    /**
     * 排序
     */
    @NotNull(message = "排序不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer sort;

    /**
     * 大类型
     */
    @NotBlank(message = "类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long type;

    /**
     * 状态(0=生效，1=不生效)
     */
    private String status;

    /**
     * 备注
     */
    private String remark;


}
